package com.mall.controller;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

import com.mall.bean.Goods;
import com.mall.bean.Goods;
import com.mall.bean.Search;
import com.mall.service.IGoodsService;
import com.mall.service.ISearchService;

@Controller
public class SkipController {

	
	@Resource
	private IGoodsService goodsService;
	
	
	@Resource
	private ISearchService searchService;

	// 跳转到登录
	@RequestMapping("/login")
	public String login() {
		return "login";
	}

	// 跳转到注册
	@RequestMapping("/register")
	public String register() {
		return "register";
	}

	//自营页1
	@RequestMapping("/autotrophy-1")

	public String autotrophy1() {

		return "autotrophy-1";

	}
	//自营页2
	@RequestMapping("/autotrophy-2")

	public String autotrophy2() {

		return "autotrophy-2";
	}
	// 跳转至发布图书
	@RequestMapping("publish-book")
	public String publish_book1() {
		return "publish-book";
	}
	@RequestMapping("publish-clothing")
	public String publish_book2() {
		return "publish-clothing";
	}
	@RequestMapping("publish-other")
	public String publish_book3() {
		return "publish-other";
	}
	@RequestMapping("publish-phone")
	public String publish_book4() {
		return "publish-phone";
	}

	//跳转至关于我们1
	  @RequestMapping("about-us-1") 
	  public String about_us_1() {
		  return "about-us-1"; 
		  }
	//跳转至关于我们2
	  @RequestMapping("about-us-2") 
	  public String about_us_2() {
		  return "about-us-2"; 
		  }
	  
	//跳转至商品详情2
	  @RequestMapping("product-detail-2")
	  public String product_detail_2() {
		  return "product-detail-2";
	  }
	  
	  //跳转至清仓换季1
	  @RequestMapping("clear-depot-1")
	  public String clear_depot_1() {
		  return "clear-depot-1";
	  }
	//跳转至清仓换季2
	  @RequestMapping("clear-depot-2")
	  public String clear_depot_2() {
		  return "clear-depot-2";
	  }
	  //跳转至秒杀1
	  @RequestMapping("seckill-1")
	  public String seckill_1() {
		  return "seckill-1";
	  }
	//跳转至秒杀2
	  @RequestMapping("seckill-2")
	  public String seckill_2() {
		  return "seckill-2";
	  }
	  //跳转至博客详情1
	  @RequestMapping("blog-detail-1")
	  public String blog_detail_1() {
		  return "blog-detail-1";
	  }
	//跳转至博客详情2
	  @RequestMapping("blog-detail-2")
	  public String blog_detail_2() {
		  return "blog-detail-2";
	  }
	//跳转至博客搜索详情1
	  @RequestMapping("blog-search-1")
	  public String blog_search_1() {
		  return "blog-search-1";
	  }
	//跳转至博客搜索详情2
	  @RequestMapping("blog-search-2")
	  public String blog_search_2() {
		  return "blog-search-2";
	  }
	  //跳转至购物清单
	  @RequestMapping("checkout-1")
	  public String checkout_1() {
		  return "checkout-1";
	  }
	//跳转至购物清单
	  @RequestMapping("checkout-2")
	  public String checkout_2() {
		  return "checkout-2";
	  }
	  //跳转至商品对比
	  @RequestMapping("compare")
	  public String compare() {
		  return "compare";
	  }
	//跳转至404错误1
	  @RequestMapping("error-404-1")
	  public String error_404_1() {
		  return "error-404-1";
	  }
	//跳转至404错误2
	  @RequestMapping("error-404-2")
	  public String error_404_2() {
		  return "error-404-2";
	  }
	  //跳转至忘记密码
	  @RequestMapping("forgot-password")
	  public String forgot_password() {
		  return "forgot-password";
	  }
	  //跳转至我的账户
	  @RequestMapping("my-account")
	  public String my_account() {
		  return "my-account";
	  }
	  //跳转至我的喜欢
	  @RequestMapping("my-like")
	  public String my_like() {
		  return "my-like";
	  }
	  //跳转至订单完成
	  @RequestMapping("order-complete")
	  public String order_complete() {
		  return "order-complete";
	  }
	  //跳转至商家商品列表1
	  @RequestMapping("seller_list_1")
	  public String seller_list_1() {
		  return "seller-list-1";
	  }
	//跳转至商家商品列表2
	  @RequestMapping("seller_list_2")
	  public String seller_list_2() {
		  return "seller-list-2";
	  }
	  //跳转至交易说明1
	  @RequestMapping("faq-1")
	  public String faq_1() {
		  return "faq-1";
	  }
	//跳转至交易说明2
	  @RequestMapping("faq-2")
	  public String faq_2() {
		  return "faq-2";
	  }
	  //跳转至隐私声明1
	  @RequestMapping("privacy-policy-1")
	  public String privacy_policy_1() {
		  return "privacy-policy-1";
	  }
	  //跳转至隐私声明2
	  @RequestMapping("privacy-policy-2")
	  public String privacy_policy_2() {
		  return "privacy-policy-2";
	  }
	//跳转至条款声明1
	  @RequestMapping("terms-and-conditions-1")
	  public String terms_and_conditions_1() {
		  return "terms-and-conditions-1";
	  }
	//跳转至条款声明2
	  @RequestMapping("terms-and-conditions-2")
	  public String terms_and_conditions_2() {
		  return "terms-and-conditions-2";
	  }
	  
	//跳转至联系我们1
	  @RequestMapping("contact-us-1") 
	  public String contact_us_1() {
		  return "contact-us-1"; 
		  }
	//跳转至联系我们2
	  @RequestMapping("contact-us-2") 
	  public String contact_us_2() {
		  return "contact-us-2"; 
		  }
	  
}
